home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-11-19 | 1.3 KB | 46 lines | [TEXT/MPS ] |
- /*
- File: SampleLibrary.exp
-
- Contains: Library and Class declarations for CPlusSampleLibrary
-
- Copyright: © 1993 by Apple Computer, Inc., all rights reserved.
-
- */
-
-
- #include <LibraryManager.h>
- #include "SampleLibrary.h"
-
-
- /*————————————————————————————————————————————————————————————————————————————————————
- Library declarations defines the ID of the shared library and the version.\
- initproc(optional) "C" routine to be called immediately after loading
- cleanupProc(optional) "C" routine to be called after library is unloaded
- flags(optional)
- noSegUnload The segments of the shared library cannot be unloaded.
- preload All segments of the shared library should be loaded at
- library load time.
- id(required) Defines the ID of the library
- version(required) Defines the version of the library.
- memory(optional) The default pool memory allocation will be the
- client from client pool.
- local from local pool
- ———————————————————————————————————————————————————————————————————————————————————*/
-
- Library
- {
- id = kTrafficLightLibID;
- version = 1.1;
- memory = client;
- };
-
- /*————————————————————————————————————————————————————————————————————————————————————
- This is the class we want to export.
- ————————————————————————————————————————————————————————————————————————————————————*/
-
- Class TTrafficLight
- {
- version = 1.1;
- };
-
-